package ar.org.cfired.creditos.parametros;

import java.util.Date;

import org.jbpm.api.Configuration;
import org.jbpm.api.NewDeployment;

public class GenerarDeployParametros {
	public static void main(String[] args) {
		NewDeployment deployment = new Configuration().buildProcessEngine().getRepositoryService().createDeployment();
		deployment.addResourceFromClasspath("parametro.password.jpdl.xml");
		deployment.addResourceFromClasspath("parametro.password.xpdl.png");
		deployment.setName("Parametros - Password");
		deployment.setTimestamp(new Date().getTime());
		deployment.deploy(); 
		
		System.out.println("Listo!"); 
	}
}
